package day1215_3;

public class Traingle {
    private  double  bottom;
    private  double  height;

    Traingle(int  x){
        bottom=x;
    }

    public static void main(String[] args) {
        Traingle   t=new Traingle(3);
        System.out.println(t.bottom);//3
        t.height=4;//给height赋值一个4
        System.out.println(t.height);//4
    }
}
